// Copyright 2023 Srhino Co., Ltd. All rights reserved.

package v2

import v2 "git.ouryun.cn/lzj1/grpc-bidirectional-stream/pkg/apis/v2"

type GrpcServer interface {
	Start() error
	Stop()
	// Request 接收转发请求
	Request(message *v2.StreamMessage, requestId uint64) (*v2.StreamMessage, error)
}
